package com.lse_api.entity;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 用户个性化信息
 * </p>
 *
 * @author 祁雪
 * @since 2020-05-11
 */
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private String uid;

    /**
     * 用户uid
     */
    private String usersUid;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 用户头像
     */
    private String portraitUrl;

    /**
     * 主页签名
     */
    private String homePublicity;

    /**
     * 个性化背景图片地址
     */
    private String backgroundImage;


    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUsersUid() {
        return usersUid;
    }

    public void setUsersUid(String usersUid) {
        this.usersUid = usersUid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPortraitUrl() {
        return portraitUrl;
    }

    public void setPortraitUrl(String portraitUrl) {
        this.portraitUrl = portraitUrl;
    }

    public String getHomePublicity() {
        return homePublicity;
    }

    public void setHomePublicity(String homePublicity) {
        this.homePublicity = homePublicity;
    }

    public String getBackgroundImage() {
        return backgroundImage;
    }

    public void setBackgroundImage(String backgroundImage) {
        this.backgroundImage = backgroundImage;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "uid=" + uid +
                ", usersUid=" + usersUid +
                ", nickname=" + nickname +
                ", portraitUrl=" + portraitUrl +
                ", homePublicity=" + homePublicity +
                ", backgroundImage=" + backgroundImage +
                "}";
    }
}
